package main

import "fmt"

func status(name string) {
	grades := map[string]float64{"Alma": 0, "Rohit": 86.5}
	grade, ok := grades[name]
	if !ok {
		fmt.Println("No such person found....")
	}

	if grade < 60 {
		fmt.Printf("%s is failing!\n", name)
	}
}

func main() {
	counters := make(map[string]int)
	counters["a"]++
	counters["a"]++
	counters["c"]++

	fmt.Println(counters["a"], counters["b"], counters["c"]) //2 0 1

	status("Alma")
	status("Almb")
	status("Rohit")

}
